//
//  MyOrderViewController.m
//  News
//
//  Created by weige on 16/6/15.
//  Copyright © 2016年 weige. All rights reserved.
//

#import "MyOrderViewController.h"
#import "HeadView.h"
#import "MineOrder.h"
@interface MyOrderViewController ()

@end

@implementation MyOrderViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor=[UIColor orangeColor];
    
  
    for (MineOrder *order in [HeadView loadGoodOrder]) {
        NSLog(@"%@", order.order_goods);
       ;
    }
}
-(void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden=NO;
   
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
